import request from "@/request";
import axios from "axios";

//获取tab0的图像列表
export function getTabList() {
  return request({
    url: "/api/tab0/Dresult_L/image-list",
    method: "get",
  });
}


//获取tab0的图像列表url
export function getTab0List() {
  return request({
    url: "/api/tab0/Dresult_L/image-list",
    method: "get",
  });
}
//获取tab0的提交
export function getTab0Submit() {
  return request({
    url: "/api/tab0/mainSubmit",
    method: "get",
  });
}
// tab1

//获取tab1的提交
export function getTab1Submit() {
  return request({
    url: "/api/tab1/mainTestSubmit",
    method: "get",
  });
}

//获取tab2的提交
export function tab2_1_image_list() {
  return request({
    url: "/api/tab2/1/image-list",
    method: "get",
  });
}
//获取tab1的列表
export function getTab1List() {
  return request({
    url: "/api/tab1/test_latest/image-list",
    method: "get",
  });
}

//获取tab2的提交
export function tab2_imgs_image_list() {
  return request({
    url: "/api/tab2/imgs2/image-list",
    method: "get",
// tab3
});
}
//获取tab3eval的提交 
export function getTab3EvalSubmit() {
  return request({
    url: "/api/tab3/evalSubmit",
    method: "get",
  });
}

//获取tab2的提交
export function tab2_main1Submit() {
  return request({
    url: "/api/tab2/main1Submit",
    method: "get",
  });
}
//获取tab3eval的图片 epoch_loss.png
export function getTab3EvalImg(filename) {
  return request({
    url: `/api/tab3/epoch_lossDownload/${filename}`,
    method: "get",
  });
}

//获取tab2的提交
export function tab2_main2Submit() {
  return request({
    url: "/api/tab2/main2Submit",
    method: "get",
  });
}

//获取tab3train的提交 
export function getTab3TrainSubmit() {
  return request({
    url: "/api/tab3/trainSubmit",
    method: "get",
  });
}

//获取tab3train的图片  matrix.png
export function getTab3TrainImg(filename) {
  return request({
    url: `/api/tab3/matrixDownload/${filename}`,
    method: "get",
  });
}